package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.EcRestaurantApply;

import java.util.List;

public interface EcRestaurantApplyMapper {
    int deleteByPrimaryKey(Long applyId);

    int insert(EcRestaurantApply record);

    int insertSelective(EcRestaurantApply record);

    EcRestaurantApply selectByPrimaryKey(Long applyId);

    EcRestaurantApply selectByRestaurantId(Long restaurantId);

    List<EcRestaurantApply> selectByUserId(Integer userId);

    int updateByPrimaryKeySelective(EcRestaurantApply record);

    int updateByPrimaryKey(EcRestaurantApply record);
}